package com.gzhu.knowledgeAdmin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gzhu.knowledgeAdmin.common.vo.PageVo;
import com.gzhu.knowledgeAdmin.entity.Keyword;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 关键词表
 *
 * @author yangminggui
 * @email giaogiao@gmail.com
 * @date 2024-01-12 23:24:33
 */
public interface KeywordService extends IService<Keyword> {

    PageVo queryPage(Map<String, Object> params);

    void saveKeyword(Keyword keyword);

    String importKeyword(MultipartFile file) throws IOException;

    void exportKeyword(Map<String, Object> params, HttpServletResponse response);

    void removeBatchByIds(List<Integer> ids);

    void updateKeyword(Keyword keyword);
}

